package com.qzimp.fujiancuo.mapper;

import com.mybatisflex.core.BaseMapper;
import com.qzimp.fujiancuo.entity.Userinfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 *  映射层。
 *
 * @author 吴宗波
 * @since 2024-11-21
 */
public interface UserinfoMapper extends BaseMapper<Userinfo> {
    @Update("update tb_userinfo set password=#{password} where id = #{id}")
    Boolean updatePassword(@Param("id") int id, @Param("password") String password);
}
